package com.elitel.frame.web.cfgsiminfo.dao;

import com.elitel.frame.web.cfgsiminfo.entity.CfgSimQueryField;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author mulis
 */
@Repository
public interface CfgSimQueryFieldDao {
    int deleteByPrimaryKey(String queryFieldId);

    int insert(CfgSimQueryField record);

    int insertSelective(CfgSimQueryField record);

    CfgSimQueryField selectByPrimaryKey(String queryFieldId);

    int updateByPrimaryKeySelective(CfgSimQueryField record);

    int updateByPrimaryKey(CfgSimQueryField record);

    List<CfgSimQueryField> selectList(CfgSimQueryField cfgSimQueryField);

    void deleteByServiceId(String serviceId);

    List<CfgSimQueryField> selectByGuids(@Param("serviceGuids") List<String> serviceGuids);

    int insertBatch(@Param("entities") List<CfgSimQueryField> entities);
}
